{{for}}
{{Block
| image=dirt.png
| transparent = No
| light = No
| tool = shovel
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}

'''Dirt''' is a [[block]] found abundantly in most [[biome]]s under a layer of [[grass block]]s at the top of the [[Overworld]].
== Obtaining ==
=== Natural generation ===
Dirt comprises the majority of the upper terrain layers in most Overworld biomes, bridging the gap between [[stone]] and [[grass block]]s in various thicknesses.

There are approximately 1,850 dirt blocks per [[chunk]] in [[plains]], [[forest]], [[snowy plains]], [[jungle]], and [[windswept hills]] biomes. In [[village]]s, dirt generates naturally as part of several different structures. In [[Woodland Mansion|woodland mansion]]s, dirt generates in several types of rooms. Four blocks of dirt also generates as part of each [[Ancient City|ancient city]] and they also generate in [[trail ruins]].

Dirt can also appear in the Overworld in the form of [[Ore (feature)|ore blob]]s. It attempts to generate seven times within each [[chunk]] as blobs ranging in size from 0-160 at Y=0—160, across all biomes. Moreover, it has the capability to replace [[stone]], [[granite]], [[andesite]], [[diorite]], polished granite{{only|be|short=1}}, polished andesite{{only|be|short=1}}, polished diorite{{only|be|short=1}}, [[tuff]]{{only|je|short=1}}, and [[deepslate]]{{only|je|short=1}}.

===Breaking===

Dirt drops as an item when broken with any tool or by hand, but a [[shovel]] is the quickest way to break it.
{{breaking row|horizontal=1|Dirt|Shovel}}

[[Farmland]], [[Dirt Path|dirt path]]s, grass blocks, [[mycelium]], and [[podzol]] drop dirt if broken without [[Silk Touch]]. Farmland and dirt paths{{only|java|short=1}} drop dirt even if broken with Silk Touch.

===Mob loot===
An [[enderman]] drops a dirt block upon death, if holding one.

===Post-generation===
[[Farmland]] turns into dirt if either a [[mob]] jumps on it, a solid block is placed over it, or if nothing is planted on it and it is not within four blocks of [[water]].

[[Dirt path]]s immediately turns into dirt if a solid block is placed over it.

[[Coarse Dirt|Coarse dirt]] can be tilled with a [[hoe]] to become dirt.

Tilling [[rooted dirt]] with a hoe turns it into normal dirt, and yields a [[hanging roots]] item.

Grass blocks and [[mycelium]] can die under various circumstances. When they die, they turn into dirt.

=== Renewable acquisition ===
{{See also|Tutorials/Dirt farming}}
By tilling coarse dirt, the player can convert [[gravel]] into dirt. Two blocks each of gravel and dirt become four blocks of coarse dirt, which can then be placed and tilled. Since gravel is renewable through [[bartering]] with [[piglin]]s, this makes a renewable source of dirt.

Another way to obtain renewable dirt makes use of [[moss block]]s. [[Azalea]] converts the moss block below it into rooted dirt when grown into a [[azalea tree|tree]]. {{IN|java}}, Large [[spruce|spruce tree]]s convert up to about 100 moss blocks into podzol when grown. Since moss can be converted from stone using [[bone meal]], and stone can be renewably generated with water and [[lava]], dirt can be renewably created as long as there is access to water, lava and moss blocks.

A third way to obtain renewable dirt is by buying podzol or rooted dirt from [[wandering trader]]s. However, only 18 blocks of podzol or 10 blocks of rooted dirt can be purchased from each trader, so this method cannot be performed on a large scale.

==Usage==

Dirt's primary use is for farming, but it can also be used as a highly available building block.

=== Crafting ingredient===

{{crafting usage}}

===Farming===

Dirt has the ability to grow [[sapling]]s, [[sugar cane]], [[mushroom]]s, [[sweet berries]], and [[bamboo]], which can be planted directly in dirt under appropriate conditions.

Using a [[hoe]] on dirt turns it into [[farmland]], enabling [[wheat seeds]], [[pumpkin seeds]], [[melon seeds]], [[potato]]es, [[carrot]]s, [[beetroot seeds]], [[pitcher pod|pitcher pods]], and [[torchflower seeds]] to be planted on it.

===Dirt path===
{{Control|Using}} a [[shovel]] on dirt turns it into a [[dirt path]].

===Grass and mycelium spreading===
{{see also|Grass Block}}

When a dirt block is adjacent to a grass block and is exposed to a [[light]] level of at least 4, it is eventually converted into a grass block at random intervals.

[[Mycelium]] spreads in a similar fashion, but requires a light level of at least 9.

=== Mud ===
{{control|Using}} a [[water bottle]], [[splash water bottle]] or [[lingering water bottle]] will convert the dirt into [[mud]].

== Sounds ==
=== Generic ===
{{Sound table/Block/Gravel}}
=== Unique ===
{{Edition|Java}}:
{{Sound table
|sound=Water splash1.ogg
|sound2=Water splash2.ogg
|subtitle=Splashing
|source=block
|description=When a player creates a mud block
|id=entity.generic.splash
|translationkey=subtitles.entity.generic.splash
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Bottle empty1.ogg
|sound2=Bottle empty2.ogg
|subtitle=Bottle empties
|source=block
|description=When a player or dispenser creates a mud block
|id=item.bottle.empty
|translationkey=subtitles.item.bottle.empty
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Shovel flatten1.ogg
|sound2=Shovel flatten2.ogg
|sound3=Shovel flatten3.ogg
|sound4=Shovel flatten4.ogg
|subtitle=Shovel flattens
|source=block
|description=When a shovel creates a dirt path
|id=item.shovel.flatten
|translationkey=subtitles.item.shovel.flatten
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Water Splash Old.ogg
|source=player
|description=When a player<wbr>{{Until|BE 1.20.40}} or dispenser creates a mud block<wbr><ref group=sound>{{Bug|MCPE-155358}}</ref>
|id=random.splash
|volume=1.0
|pitch=0.6-1.4}}
{{Sound table
|sound=Bottle empty1.ogg
|sound2=Bottle empty2.ogg
|source=sound<!--bottle-->
|description=When a player creates a mud block<wbr>{{Upcoming|BE 1.20.40}}
|id=bottle.empty
|volume=1.0
|pitch=1.0}}
{{Sound table
|type=bedrock
|sound=Grass hit1.ogg
|sound2=Grass hit2.ogg
|sound3=Grass hit3.ogg
|sound4=Grass hit4.ogg
|sound5=Grass hit5.ogg
|sound6=Grass hit6.ogg
|source=block
|description=When a shovel creates a dirt path <ref group=sound>{{Bug|MCPE-114390}}</ref>
|id=use.grass
|volume=1.0
|pitch=0.8
|foot=1}}

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Dirt
|spritetype=block
|nameid=dirt
|blocktags=bamboo_plantable_on, enderman_holdable, dripstone_replaceable_blocks, moss_replaceable, lush_ground_replaceable, mineable/shovel, dirt, #sniffer_diggable_block
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Dirt
|spritetype=block
|nameid=dirt
|id=3
|translationkey=tile.dirt.default.name
|foot=1}}

===Block states===
{{see also|Block states}}

{{IN|be}}, dirt uses the following block states:

{{/BS}}

==History==
{{History|java pre-classic}}
{{History||rd-20090515|[[File:Dirt JE1.png|32px]] Added dirt.
|[[Grass Block|Grass]] spreads to dirt when under [[light]].}}
{{History|java Classic}}
{{History||0.24 SURVIVAL TEST|Grass blocks and dirt now drop dirt when broken.}}
{{History|java indev}}
{{History||unknown|Dirt now uses a [[sound]] distinct from [[grass block|grass]].}}
{{History||20100206|Dirt can now be tilled with a [[hoe]] into [[farmland]].}}
{{History|java infdev}}
{{History||20100617-2|Dirt and [[gravel]] now generate naturally as [[Ore (feature)|ore feature]]s underground.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Dirt now generates naturally in [[village]]s and [[mineshaft]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|[[Mycelium]] has been introduced, and now spreads to dirt.}}
{{History|||snap=Beta 1.9 Prerelease 5|[[File:Dirt JE2 BE2.png|32px]] The texture of dirt has been changed. Dirt now has a slightly different arrangement of grains around the sides.}}
{{History||1.1|snap=12w01a|Dirt is now generating in [[Superflat]] world type.}}
{{History||1.2.1|snap=12w07a|Player is now unable to till dirt with [[hoe]] when there is block on top of the dirt.}}
{{History||1.4.2|snap=12w38a|Dirt has been given new [[sound]]s for being placed and walked upon.}}
{{History||1.8|snap=14w27b|Dirt's textures now rotate randomly due to the addition of arrays to the [[Block models|block model format]].}}
{{History||1.11|snap=16w39a|Dirt now generates in [[Woodland Mansion|mansion]]s.}}
{{History||1.14|snap=19w05a|Dirt is now [[renewable resource|renewable]] due to the [[Wandering Trader|wandering trader]] selling [[podzol]].}}
{{History||1.16|snap=20w07a|As [[gravel]] has become renewable through [[piglin]] [[bartering]], dirt can be more easily and renewably obtained through crafting and tilling [[Coarse Dirt|coarse dirt]].}}
{{History||1.17|snap=20w45a|A [[shovel]] can now be used on dirt to create a [[Dirt Path|dirt path]] block.}}
{{History|||snap=21w06a|The height limit was expanded down to Y{{=}}-64. Dirt [[Ore (feature)|blob]]s are temporary generating from Y{{=}}-64 instead of Y{{=}}0.}}
{{History|||snap=21w07a|Dirt ore features no longer generate below Y{{=}}0, but more common than in pre 21w06a versions.}}
{{History|||snap=21w15a|All the changes to dirt blob generation in the previous 1.17 snapshots have been reverted, but they can be re-enabled with the [[Caves & Cliffs Prototype Data Pack]].}}
{{History||1.18|snap=Experimental Snapshot 1|Dirt blob once again generates the way it did in the 1.17 snapshots without the use of a data pack.}}
{{History|||snap=21w37a|Dirt no longer generates as part of the starting room in [[mineshaft]]s.<ref>{{Cite bug|MC|215876|Dirt can generate below y{{=}}0 from mineshafts|date=February 17, 2021}}</ref><ref>{{Cite bug|MC|238311|Mineshaft dirt rooms above y{{=}}0 no longer generates with dirt|date=October 4, 2021}}</ref>}}
{{History|||snap=21w39a|Dirt blobs no longer generate above Y{{=}}160, and becomes rarer than before. Before, the spawn attempt is 15 times per chunk.}}
{{History||1.19|snap=22w11a|Using a [[water bottle]], [[splash water bottle]] or [[lingering water bottle]] now convert dirt into [[mud]].}}
{{History|||snap=22w13a|Dirt now generates as part of [[Ancient City|ancient cities]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[Sniffer]]s can now dig dirt.}}
{{History||1.20|snap=23w12a|Dirt now generates in [[trail ruins]].}}
{{History|||snap=23w16a|The amount of dirt in trail ruins has been tweaked.|The game's application icon has been changed from [[crafting table]] to dirt (for snapshots).}}

{{History|pocket alpha}}
{{History||Pre-release|[[File:Dirt (texture) JE1 BE1.png|32px]] [[File:Dirt JE1 BE1.png|32px]] Added dirt.}}
{{History||v0.2.0|[[File:Dirt JE2 BE2.png|32px]] The texture of dirt has been changed.}}
{{History||v0.4.0|Dirt can now be [[hoe]]d into [[farmland]].}}
{{History||v0.8.0|snap=build 1|The textures of dirt are now randomly rotated.}}
{{History||v0.9.0|snap=build 1|[[File:Dirt JE2 BE2.png|32px]] Grassless dirt has been added.}}
{{History||v0.11.0|snap=build 1|Dirt can now be obtained by breaking [[grass path]] blocks.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|Dirt now generates in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Grassless dirt has been replaced with [[coarse dirt]].}}
{{History||1.10.0|snap=beta 1.10.0.3|Dirt is now [[renewable resource|renewable]].}}
{{History||1.18.0|snap=beta 1.18.0.20|Dirt blob generation has now been tweaked to be in parity with ''Java Edition''.}}
{{History|||snap=beta 1.18.0.21|Dirt blobs no longer generate above Y{{=}}160, and becomes rarer than before. Before, the spawn attempt is 15 times per chunk.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Dirt JE1 BE1.png|32px]] Added dirt.}}
{{History||xbox=TU3|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Dirt JE2 BE2.png|32px]] The texture of dirt has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Dirt JE2 BE2.png|32px]] Added dirt.}}
{{History|foot}}

=== Data history ===
{{History|java}}
{{History||1.8|snap=14w10a|Dirt with [[Java Edition data values/Pre-flattening/Block IDs/Before 14w25a|numerical metadata variants]] 3 through 15, which are inaccessible through normal gameplay, now have [[Missing model|no model]] [[File:Missing Model JE2.png|32px]] rather than appearing identical to dirt.}}
{{History|||snap=14w25a|Dirt and its variants are now defined via [[block states]] rather than by numerical metadata. Prior to this version, the numerical metadata variants of dirt were as follows:
{{dvt|spritetype=block|sprite=dirt|[[Dirt]]}}
{{dvt|sprite=dirt|[[Coarse Dirt|Grassless Dirt]]}}
{{dvt|sprite=podzol|[[Podzol]]}}
{{dvt|sprite=missing-texture-block|dv=3-15|[[Java Edition removed blocks/Metadata variants#Boring variants|Inaccessible "boring" variants of dirt]]|foot=1}}}}
{{History|||snap=14w26a|Dirt with metadata values 3 through 15 have now been completely removed from the game.}}
{{History||1.13|snap=17w47a|The different variant block states for the <code>dirt</code> ID have been split up into their own IDs.
|Prior to [[Java Edition 1.13/Flattening|''The Flattening'']], this block's numeral ID was 3.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
Wormhole Cave Beta.png|A cave entrance containing multitudes of dirt.
SavannaDirt.jpg|Coarse dirt found in a savanna biome.
Grass Spread.png|Grass spreading on a square of dirt.
Dirt Castle.png|A castle made of dirt.
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/block-week-dirt Block of the Week: Dirt] – Minecraft.net on February 23, 2018

{{Blocks|natural}}

[[Category:Natural blocks]]
[[Category:Generated structure blocks]]

[[cs:Hlína]]
[[de:Erde]]
[[es:Tierra]]
[[fr:Terre]]
[[hu:Föld]]
[[it:Terra]]
[[ja:土]]
[[ko:흙]]
[[nl:Aarde]]
[[pl:Ziemia]]
[[pt:Terra]]
[[ru:Земля]]
[[th:ดิน]]
[[tr:Toprak]]
[[uk:Ґрунт]]
[[zh:泥土]]
